export default {
	state: {
		item1: '',
		item2: '',
		item3: '',
		item:{},
		list:[]
	},
	getters: {
		modifygetitem(state) {
			return state.item
		},
		
		
		modifygetitem1(state) {
			return state.item1
		},
		modifygetitem2(state) {
			return state.item2
		},
		modifygetitem3(state) {
			return state.item3
		},
		
		
		
		
		modifygetlist(state) {
			return state.list
		}
	},
	mutations: {
		modifysetitem(state,info) {
			for (let var1 in info) {
				state.item[var1] = info[var1]
			}
		},
		delitem(state,info) {
			state.item = info
		},
		
		
		
		modifysetitem1(state, info) {
			state.item1 = info
		},
		modifysetitem2(state, info) {
			state.item2 = info
		},
		modifysetitem3(state, info) {
			state.item3 = info
		},
		
		
		
		modifysetlist(state,info) {
			state.list.push(info)
		},
		modifydellist (state,info) {
			 state.list.splice(info,1);
		},
		dellist(state,info) {
			state.list = info
		}
	},
	actions: {

	}
}
